﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace APMS.WebSite.Common
{
    /// <summary>
    /// Constants which is used throughout the system
    /// </summary>
    /// <version>$Revision$ $Date$</version>
    /// <history>
    /// <record>08/27/2008. raQuiam - Created this file</record>
    /// <record>09/08/2008. raQuiam - add Constants.HttpMethod</record>
    /// <record>10/01/2008. raQuiam - add Constants.AppSettings.THEME_NAME</record>
    /// </history>
    public struct Constants
    {
        /// <summary>
        /// Constants for Web.config in appSettings section
        /// </summary>
        public struct AppSettings
        {
            public const string DATA_PROVIDER = "DataProvider";
            public const string THEME_NAME = "ThemeName";

            /// <summary>
            /// Constants for DataProvider key in Constants.AppSettings
            /// </summary>
            public struct DataProvider
            {
                public const string MYSQL = "MySQL";
                public const string ORACLE = "Oracle";
            }
        }

        /// <summary>
        /// Constants for Web.config in connectionStrings section
        /// </summary>
        public struct ConnectionStrings
        {
            public const string MYSQL = "MySQLConnectionString";

            public const string ORACLE = "OracleConnectionString";
        }

        /// <summary>
        /// Constans for detect Request.HttpMethod
        /// </summary>
        public struct HttpMethod
        {
            public const string GET = "GET";
            public const string POST = "POST";
        }

    }
}
